Remove unused DEBUG variable, and -d flag.
authoremellor@ewan <emellor@ewan>
Wed, 21 Sep 2005 10:31:55 +0000 (11:31 +0100)
committeremellor@ewan <emellor@ewan>
Wed, 21 Sep 2005 10:31:55 +0000 (11:31 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendClient.py

index 0a46c0b5f5df2b62080c5678beae171874e589c5..4a78e8ab27ed72ab472e5b0cb9e1bd1599c7404a 100644 (file)
@@ -33,8 +33,6 @@ from XendProtocol import HttpXendClientProtocol, \
                          UnixXendClientProtocol, \
                          XendError
 
-DEBUG = 0
-
 def fileof(val):
     """Converter for passing configs or other 'large' data.
     Handles lists, files directly.
@@ -385,7 +383,6 @@ python XendClient.py domains
 python XendClient.py domain 0
     (domain (id 0) (name Domain-0) (memory 128))
     """
-    global DEBUG
     from getopt import getopt
     short_options = 'x:au:d'
     long_options = ['xend=', 'unix=', 'debug']
@@ -397,8 +394,6 @@ python XendClient.py domain 0
             srv = v
         elif k in ['-u', '--unix']:
             unix = int(v)
-        elif k in ['-d', '--debug']:
-            DEBUG = 1
     if len(args):
         fn = args[0]
         args = args[1:]